package com.srs.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Storageareas entity. @author MyEclipse Persistence Tools
 */

public class Storageareas implements java.io.Serializable {

	// Fields

	private Integer storageAreasId;
	private Vin vin;
	private Warehouse warehouse;
	private String storageAreasName;
	private Set warehouselists = new HashSet(0);

	// Constructors

	/** default constructor */
	public Storageareas() {
	}

	/** minimal constructor */
	public Storageareas(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	/** full constructor */
	public Storageareas(Vin vin, Warehouse warehouse, String storageAreasName,
			Set warehouselists) {
		this.vin = vin;
		this.warehouse = warehouse;
		this.storageAreasName = storageAreasName;
		this.warehouselists = warehouselists;
	}

	// Property accessors

	public Integer getStorageAreasId() {
		return this.storageAreasId;
	}

	public void setStorageAreasId(Integer storageAreasId) {
		this.storageAreasId = storageAreasId;
	}

	public Vin getVin() {
		return this.vin;
	}

	public void setVin(Vin vin) {
		this.vin = vin;
	}

	public Warehouse getWarehouse() {
		return this.warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public String getStorageAreasName() {
		return this.storageAreasName;
	}

	public void setStorageAreasName(String storageAreasName) {
		this.storageAreasName = storageAreasName;
	}

	public Set getWarehouselists() {
		return this.warehouselists;
	}

	public void setWarehouselists(Set warehouselists) {
		this.warehouselists = warehouselists;
	}

}